/* 
 * File:   color.h
 * Author: chaterolas
 *
 * Created on 24 de junio de 2009, 05:49 PM
 */

#ifndef _COLOR_H
#define	_COLOR_H

#include "vector3d.h"

class Color {
public:
    Color(double x = 0.0, double y = 0.0, double z = 0.0);
    Color(const Color &c);
    virtual ~Color();

    void add(const Color& c);
    void blend(const Color& c);
    void scale(double f);
    double getChanel(int ent);
    void setChanel(int ent, double val);
    
    Vector3D *v;
};

#endif	/* _COLOR_H */

